/**
 * @Function 站内信消息实体
 * @ProjectName credit-data-platform
 * @PackageName com.py.credit.entity
 * @FileName MsgContentEntity.java
 * @Date 2018年5月16日上午11:36:19
 * @Author Min DongXv
 * @Copyright (c) 2018, 金电联行 All Rights Reserved.
 */
package com.py.credit.entity;

import java.io.Serializable;
import java.util.List;

/**
 * @Function 站内信消息实体
 * @ClassName MsgContentEntity
 * @Date 2018年5月16日 上午11:36:19
 * @Author Min DongXv
 */
public class MsgContentEntity implements Serializable {

    private static final long serialVersionUID = 3592109335970554143L;

    /**
     * 标题
     **/
    private String msgTitle;
    /**
     * 内容
     **/
    private String msgContent;
    /**
     * 发件人ID
     **/
    private long sendId;
    /**
     * 消息类型，1：系统消息，2：任务提醒，3：数据催收
     **/
    private int msgType;

    private String msgTypeS;

    /**
     * 发件人姓名
     **/
    private String sendName;
    /**
     * 链接地址
     **/
    private String linkUrl;
    /**
     * 业务扩展
     **/
    private String busExt;
    /**
     * 消息详情
     **/
    private List<MsgDetailEntity> details;

    public MsgContentEntity() {
    }

    /**
     * @param msgTitle
     * @param msgContent
     * @param sendId
     * @param msgType
     * @param sendName
     * @param linkUrl
     * @param busExt
     * @param details
     */
    public MsgContentEntity(String msgTitle, String msgContent, long sendId, int msgType,String msgTypeS, String sendName,
                            String linkUrl, String busExt, List<MsgDetailEntity> details) {
        super();
        this.msgTitle = msgTitle;
        this.msgContent = msgContent;
        this.sendId = sendId;
        this.msgType = msgType;
        this.msgTypeS=msgTypeS;
        this.sendName = sendName;
        this.linkUrl = linkUrl;
        this.busExt = busExt;
        this.details = details;
    }


    /**
     * @return the msgTitle
     */
    public String getMsgTitle() {
        return msgTitle;
    }

    /**
     * @param msgTitle the msgTitle to set
     */
    public void setMsgTitle(String msgTitle) {
        this.msgTitle = msgTitle;
    }

    /**
     * @return the msgContent
     */
    public String getMsgContent() {
        return msgContent;
    }

    /**
     * @param msgContent the msgContent to set
     */
    public void setMsgContent(String msgContent) {
        this.msgContent = msgContent;
    }

    /**
     * @return the sendId
     */
    public long getSendId() {
        return sendId;
    }

    /**
     * @param sendId the sendId to set
     */
    public void setSendId(long sendId) {
        this.sendId = sendId;
    }

    /**
     * @return the msgType
     */
    public int getMsgType() {
        return msgType;
    }

    /**
     * @param msgType the msgType to set
     */
    public void setMsgType(int msgType) {
        this.msgType = msgType;
    }

    public String getMsgTypeS() {
        return msgTypeS;
    }

    public void setMsgTypeS(String msgTypeS) {
        this.msgTypeS = msgTypeS;
    }

    /**
     * @return the sendName
     */
    public String getSendName() {
        return sendName;
    }

    /**
     * @param sendName the sendName to set
     */
    public void setSendName(String sendName) {
        this.sendName = sendName;
    }

    /**
     * @return the details
     */
    public List<MsgDetailEntity> getDetails() {
        return details;
    }

    /**
     * @param details the details to set
     */
    public void setDetails(List<MsgDetailEntity> details) {
        this.details = details;
    }

    /**
     * @return the linkUrl
     */
    public String getLinkUrl() {
        return linkUrl;
    }

    /**
     * @param linkUrl the linkUrl to set
     */
    public void setLinkUrl(String linkUrl) {
        this.linkUrl = linkUrl;
    }

    /**
     * @return the busExt
     */
    public String getBusExt() {
        return busExt;
    }

    /**
     * @param busExt the busExt to set
     */
    public void setBusExt(String busExt) {
        this.busExt = busExt;
    }

    /**
     * @return
     * @Function TODO
     * @FileName MsgContentEntity.java
     * @MethodName toString
     * @Date 2018年5月16日 下午3:09:01
     * @Author Min DongXv
     */
    @Override
    public String toString() {
        return "MsgContentEntity [msgTitle=" + msgTitle + ", msgContent=" + msgContent + ", sendId=" + sendId
                + ", msgType=" + msgType + ", sendName=" + sendName + ", linkUrl=" + linkUrl + ", details=" + details
                + "]";
    }
}
